package com.forever7776.life.core.common.vo;

import util.RelativeDateFormatUtil;

/**
 * <p>
 * 用户评论列表
 * 如：动弹，博客。。。
 * <p>
 * ls
 *
 * @author kz
 * @date 2018-03-30
 */
public class UserCommentVO {

    /**
     * 评论表ID
     */
    private Integer commentId;

    /**
     * 动弹ID
     */
    private Integer tweetId;

    /**
     * 评论用户ID
     */
    private String userId;

    /**
     * 回复者ID
     */
    private String replyId;

    /**
     * 内容
     */
    private String content;

    /**
     * 时间
     */
    private String insertDate;


    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getTweetId() {
        return tweetId;
    }

    public void setTweetId(Integer tweetId) {
        this.tweetId = tweetId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(String insertDate) {
        this.insertDate = RelativeDateFormatUtil.format(insertDate);
    }

    @Override
    public String toString() {
        return "UserCommentVO{" +
                "commentId=" + commentId +
                ", tweetId=" + tweetId +
                ", userId='" + userId + '\'' +
                ", replyId='" + replyId + '\'' +
                ", content='" + content + '\'' +
                ", insertDate='" + insertDate + '\'' +
                '}';
    }
}
